package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 用户提交表单项答案记录
 */
@Getter
@Setter
@Document(collection = "user_single_form_answer")
public class UserSingleFormAnswer extends EntityBase {
    /**
     * 表单任务ID
     */
    private String formTaskConfigId;
    /**
     * 单个表单项ID，也就是问题ID
     */
    private String singleFormConfigId;
    /**
     * 答案的ID
     */
    private String singleFormAnswerId;
    /**
     * 答案的内容
     */
    private String answerContent;
    /**
     * 答案的类型
     * * single-choice:单选题
     * * multiple-choice:多项选择题
     * * text-box:文本框
     * * file-upload:文件上传
     */
    private String answerType;
}
